<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            margin: 0;
        }
        /*标签选择器 特性值/权重1*/
        div{
            width: 100px;
            height: 100px;
            background-color: pink;
            margin: 10px;
            /* float:right; */
        }
        #one{
            background-color: teal;
            float:left;
        }
        #two{
            float:left;
            background-color: yellow;
            /* clear:both; */
            /*清楚浮动产生的影响*/
        }
        #three{
            clear:both;
        }
    </style>
</head>
<body>
    <div id="one"></div>
    <div id="two"></div>
    <div id="three"></div>
    <div></div>
</body>
<html>